﻿package Message.Public
{
    import Framework.Serialize.*;

    public class STowerPlayer extends Object
    {
        public var playerId:int;
        public var playerName:String;
        public var title:String;
        public var level:int;
        public var passTime:Date;
        public var rank:int;

        public function STowerPlayer()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.playerId);
            param1.writeString(this.playerName);
            param1.writeString(this.title);
            param1.writeInt(this.level);
            param1.writeDate(this.passTime);
            param1.writeInt(this.rank);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.playerId = param1.readInt();
            this.playerName = param1.readString();
            this.title = param1.readString();
            this.level = param1.readInt();
            this.passTime = param1.readDate();
            this.rank = param1.readInt();
            return;
        }// end function

    }
}
